<html>
	<head>
		<script src="md5.js" type="text/javascript"></script>
		<script src="lastfmlib.js" type="text/javascript"></script>
		<script language="JavaScript">
		
		var lfm = new lastFmSession();
		
		function onPlaylist()
		{
		}
		
		function onTune()
		{
			lfm.getPlaylist(onPlaylist);
		}

		function onLogin()
		{
			lfm.startTune("lastfm://globaltags/rock", onTune);
		}

		function onLoad()
		{
			lfm.startLogin("connected_dev", "connected_dev", onLogin);
			//lfm.startAnonymousLogin(onLogin);
		}

		window.onload = onLoad;

		</script>
	</head>
	<body>
		<pre id="text">Test</pre>
	</body>
</html>
